package com.inspur.edp.formserver.vmmanager.pushchangesetevent;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Bean;
import io.iec.edp.caf.commons.event.config.EventListenerSettings;

@Configuration
public class PushVmChangeSetConf {
  @Bean(name = "PushVmChangeSetEventBroker")
  public PushVmChangeSetEventBroker setEventBroker(EventListenerSettings settings, PushVmChangeSetEventManager eventManager) {
    return new PushVmChangeSetEventBroker(settings, eventManager);
  }
  @Bean(name = "PushVmChangeSetEventManager")
  public PushVmChangeSetEventManager setEventManager() {
    return new PushVmChangeSetEventManager();
  }
}
